package com.vogue.supplymall.entmanagement.domain.biz.impl;

import com.vogue.supplymall.entmanagement.domain.biz.LicenceShopSearchBiz;
import com.vogue.supplymall.entmanagement.domain.service.LicenceApplyService;
import com.vogue.supplymall.common.domain.dto.LicenceShopSearchInfo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * The type Licence shop search biz.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-04-16
 */
@Service("licenceShopSearchBiz")
public class LicenceShopSearchBizImpl implements LicenceShopSearchBiz {
    @Resource
    private LicenceApplyService licenceApplyService;
    
    @Override
    public List<Map<String, Object>> findCurrentShopList(LicenceShopSearchInfo licenceShopSearchInfo) {
        return licenceApplyService.findShopList(licenceShopSearchInfo);
    }

    @Override
    public List<Map<String, Object>> findWarning(LicenceShopSearchInfo licenceShopSearchInfo) {
        return licenceApplyService.findWarning(licenceShopSearchInfo);
    }
}
